<extend name="Public/base" />
	<block name="wrapper" >
		<table class="table" >
		<tr>
			<h2><a href="{:U('Book/add')}">添加书籍</a></h2>
		</tr>
		<tr>
			<th>编号</th>
			<th>书名</th>
			<th>图像</th>
			<th>价格</th>
			<th>图书库存</th>
			<th>操作</th>
		</tr>
		<foreach name="data" item="vo">
			<tr>
				<td>{$vo['id']}</td>
				<td>{$vo['bkname']}</td>
				<td><img src="__PUBLIC__/{$vo['bkpic']}" width="40" height="40" alt=""></td>
				<td>{$vo['bkprice']}</td>
				<td>{$vo['bknum']}</td>
				<!-- <td style="width:60px;height:15px;overflow:hidden;">{$vo['bkdes']}</td> -->
				<td><a href="{:U('Book/edit/',['id'=>$vo['id']])}">修改</a> <a href="{:U('Book/edit/',['id'=>$vo['id']])}">删除</a><a href="{:U('Book/xqadd')}">详情</a></td>
			</tr>
		</foreach>
		
	<tr>
			<td colspan="7" align="center">{$show}</td>
		</tr>
</table>

	</block>